
import ElementPlus from "element-plus";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import "element-plus/dist/index.css";

import router from './router'

import components from "@/components";
import common from "@/common";

import { createPinia } from 'pinia'
import pinia from '@/stores/index'
import '@/style/main.scss'
import '@/style/tailwind.css'

export default {
  install(app: any) {
    for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
      app.component(key, component);
    }
    app.use(ElementPlus).use(pinia).use(router).use(components).use(common);
  },
};


